home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 4 / Light ROM 4 - Disc 1.iso / text / maillist / 1994 / june94.doc / 000364_owner-lightwave-l _Wed Jun 29 21:51:46 1994.msg < prev    next >
Internet Message Format  |  1995-03-23  |  1KB

  1. Return-Path: <owner-lightwave-l>
  2. Received: by netcom.com (8.6.8.1/SMI-4.1/Netcom)     id VAA14069; Wed, 29 Jun 1994 21:22:42 -0700
  3. Received: by netcom.com (8.6.8.1/SMI-4.1/Netcom)     id SAA14346; Wed, 29 Jun 1994 18:55:52 -0700
  4. Date: Wed, 29 Jun 1994 18:55:52 -0700
  5. From: shf (Stuart Ferguson)
  6. Message-Id: <199406300155.SAA14346@netcom11.netcom.com>
  7. To: lightwave-l@netcom.com
  8. Subject: Re: Random Surface Points Macro
  9. Sender: owner-lightwave-l@netcom.com
  10. Precedence: list
  11. Reply-To: lightwave-l@netcom.com
  12.  
  13.     I've noticed that LW AREXX requester interface will convert all numbers
  14.     from meters to english feet (or v.v.) if you invoke a modeller macro
  15.     while in english measure mode.  I noticed this when using the point
  16.     cloud macro.  The number of points is converted from meters to feet, and
  17.     you end up with fewer points than asked for.  Since it remembers the
  18.     number, the next time you run it you'll see the number it thought it
  19.     got.  It's pretty ugly - maybe it's how the macro sets up the requester,
  20.     I suppose I should dig into it someday.
  21.  
  22. That is a bug in the macro.  The ARexx macro language makes a
  23. clear distinction between requester fields which are distances
  24. and those which are unitless.  The offending line in the macro
  25. is:
  26.  
  27.     id_N = req_addcontrol("Number of Points", 'n', 1)
  28.  
  29. The final "1" should have been omitted.
  30.  
  31.     - Stuart